package jframe.entity.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import jframe.entity.base.EntityBase;

/**
 * @描述:<p>部门 </p>
 *
 * @作者: 叶平平(yepp)
 *
 * @时间: 2011-8-24 下午10:55:18
 */
@SuppressWarnings("serial")
@Entity
@Table(name="sys_department")
public class Department extends EntityBase {

	/**
	 * 部门编号
	 */
	@Column(name="deptNo",nullable=true)
	private String deptNo;
	/**
	 * 部门名称
	 */
	@Column(name="name",nullable=true)
	private String name;
	
	/**
	 * 父部门编号
	 */
	@Column(name="parentNo",nullable=true)
	private String parentNo;
	
	/**
	 * 业务编号
	 */
	@Column(name="businessNo",nullable=true)
	private String businessNo;
	/**
	 * 部门级别
	 */
	@Column(name="level",nullable=true)
	private String level;
	
	/**
	 * 排序
	 */
	@Column(name="orderIds",nullable=true)
	private Long orderIds;
	
	/**
	 * 叶子节点
	 */
	@Column(name="leaf",nullable=true)
	private boolean leaf;
	/**
	 * 描述说明
	 */
	@Column(name="description",nullable=true)
	private String description;
	
	
	public String getDeptNo() {
		return deptNo;
	}
	public void setDeptNo(String deptNo) {
		this.deptNo = deptNo;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getParentNo() {
		return parentNo;
	}
	public void setParentNo(String parentNo) {
		this.parentNo = parentNo;
	}
	public String getBusinessNo() {
		return businessNo;
	}
	public void setBusinessNo(String businessNo) {
		this.businessNo = businessNo;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public Long getOrderIds() {
		return orderIds;
	}
	public void setOrderIds(Long orderIds) {
		this.orderIds = orderIds;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	
	
	
}
